<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改书本</title>
</head>
<body>
<form th:action="@{changeBookSave}" method="post">
    <table border="1" >
        <tr>
            <th>书本ID</th>
            <th>书本名</th>
            <th>作者</th>
            <th>出版社</th>
            <th>时间</th>
            <th>书本位置</th>
        </tr>
        <tr>
            <td><input name="bookId" type="text" th:value="${books.bookId}"/></td>
            <td><input name="bookName" type="text" th:value="${books.bookName}"/></td>
            <td><input name="author" type="text" th:value="${books.author}"/></td>
            <td><input name="publisher" type="text" th:value="${books.publisher}"/></td>
            <td><input name="publishDate" type="date" th:value="${books.publishDate}"/></td>
            <td><input name="bookPosition" type="text" th:value="${books.bookPosition}"/></td>
        </tr>
    </table>
    <input type="submit" value="保存"/>
</form>
<form th:action="@{viewBook}" method="get">
    <button>返回</button>
</form>
</body>
</html>